@charset "UTF-8";
@import "common";


//导航栏
nav{
    @include nav ;
}
//头部banner图
header{
    >.laya-banner{
        background: #c4bc51;
        .laya-banner-img{
            width: 100%;
            img{
                width: 100%;
            }
        }        
    }

}
//热门介绍
.hot{
    position: relative;
    //猎刃2
    .lr2{
        padding-top: 42px;
        //左边图
        .lr2-lefy-img{
            img{
                width: 100%;
                height: 100%;
            }
        }
        //右边文字部分
        .lr2-content{
            text-align: right;
            //标题
            .lr2-title{
                p{
                    font-size: 29px;
                }
            }
            //段落
            .lr2-p{
                p{
                    font-size: 12px;
                    justify-content: center;
                    line-height: 30px;
                }
            }
            //图片
            .lr2-img{
                margin-left: 20px;
                .lr2-four-img {
                    &:hover {
                        opacity: 0.8;
                    }
                    margin-bottom: 30px;
                    img{
                        width: 100%;
                        height: 100%;
                    }
                }
            }
        }
    }
    //上吧公主
    .sbgz{
        padding-top: 42px;
        //左边图
        .sbgz-lefy-img{
            img{
                width: 100%;
                height: 100%;
            }
        }
        //右边文字部分
        .sbgz-content{
            text-align: left;
            //标题
            .sbgz-title{
                p{
                    font-size: 29px;
                }
            }
            //段落
            .sbgz-p{
                p{
                    font-size: 12px;
                    justify-content: center;
                    line-height: 30px;
                }
            }
            //图片
            .sbgz-img{
                .sbgz-four-img{
                    &:hover {
                        opacity: 0.8;
                    }
                    margin-bottom: 30px;
                    img{
                        width: 100%;
                        height: 100%;
                    }
                }
            }
        }
    }
    //头部热门
    .red-content{
        width: 40px;
        height: 100px;
        background: red;
        position: absolute;
        top: 0;
        left: 179px;
        p{
            font-size: 20px;
            text-align: center;
            color: white;padding-top: 21px;
        }
        .triangle-down { 
            width: 0; 
            height: 0; 
            border-left: 20px solid transparent; 
            border-right: 20px solid transparent; 
            border-bottom: 13px solid white; 
        } 
    }
    //更多案例
    .more-case{
        padding-top: 80px;
        padding-bottom: 80px;
        .more-case-title{
            padding-bottom: 36px;
            p{
                font-size: 36px;
            }
        }
        //游戏集
        .games-set{
            img{
                width: 100%;
                height: 100%;
            }
            cursor: pointer;
            position: relative;
            margin-bottom: 40px;
            p:first-of-type{
                text-align: center;
                margin-top: 12px;
            }
            //hover介绍
            .games-more-hover{
                display: none;
                width: 91%;
                height: 76%;
                position: absolute;
                padding: 0 10px;
                top: 0;
                left: 15px;
                background: rgba(0,0,0,.5);
                p{
                    font-size: 12px;
                    color: white;
                }
            }
        }
        .games-set:hover .games-more-hover{
            display: block;
        }
    }
}
//尾部
footer{
    @include footer;
}
